<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style>
	*{
		margin: 0;
		padding:0;
	}
	div{
		margin-top:6px;
	}
	#box{
		min-width:800px;
		margin:0 auto;
	}
	#head{
		line-height: 40px;
		padding-left:10px;
		background:#0088ff;
		color:white;
	}
	th,td{
		line-height: 25px;
	}
	tr{
        //font-size:15px;
		background: white;
	}
    table,table tr th, table tr td { border:1px solid #aaaaaa; }
    th, tr, td {padding-left:4px}
    table {border-collapse: collapse;}  
    
    .boxColorContent{
        border:1px solid #bbbbbb;
        padding:9px 9px 9px 9px;
        background:#ffffee;
    }
    .boxCustomContent{
        padding:9px 9px 9px 9px;
    }
    HR{margin-top: 10px;}
    .previewImage{box-shadow:0 0 20px 0 #000000;}
	</style>
</head>
<body>
	<div id="box" style="padding-left:4px">
        <!-- preview -->
		<div id="head"><h2 class="logoName"></h2></div>
            <div style="height:9px"></div>
            <div style="text-align: center;">
                <img class="previewImage" src="../image/verdesktop.png">
        </div>
        
        <!-- description -->
		<div><h4>描述</h4></div>
        <HR>
        <div style="margin-left: 10px;margin-right: 10px;">
            <div uuid="description" class="boxCustomContent"></div>
            <div style="height:9px"></div>
        </div>
        
        <!-- config -->
		<div ><h4>配置</h4></div>
        <HR>
        <div style="margin-left: 10px;margin-right: 10px;">
            <div style="font-size:14px;">1.主配置文件：config/pipeline.yml</div>
            <div uuid="pipelineConfig" class="boxColorContent"></div>
            
            <div style="font-size:14px;">2.项目配置文件：config/projects/thingdom.yml</div>
            <div uuid="projectConfigInfo" class="boxCustomContent"></div>
            <div uuid="projectConfig" class="boxColorContent"></div>
            <div style="height:9px"></div>
        </div>
        
        <!-- example -->
		<div><h4>Examples</h4></div>
        <HR>
        <div style="margin-left: 10px;margin-right: 10px;">
            <div uuid="packageSample" class="boxColorContent"></div>
            <div style="height:9px"></div>
        </div>
	</div>

<!-- 下面是数据输入区，注意空格，这里什么格式，显示什么格式.注意："<" 和 ">" 用 &lt; 和 &gt; 代替。-->
<!-- **************************************************************** -->
<!-- 1.语法内容输入 -->
<pre uuid="description" style="display:none;">
软件中心：各项目各环节软件插件配置

</pre>

<pre uuid="pipelineConfig" style="display:none">

thingdom: !include 'projects/thingdom.yml'

</pre>

<pre uuid="projectConfigInfo" style="display:none">
环节名：
    功能组名：
        -
            name: 软件名               # 对应软件的图标名
            engine: 软件包名           # package
            defalut: 版本              # 指定默认版本（ 可缺省 ）
            versions: 版本列表         # 版本列表，用户左键点击图标，弹出菜单可切换版本（ 可缺省 ）
            cmd: 启动命令              # 启动命令
            packages:                  # 指定加载的环节包/插件包（ 可缺省 ）
                - 环境包（插件包）01
                - 环境包（插件包）02
                ...
...
</pre>

<pre uuid="projectConfig" style="display:none">
modeling:
    shotgun:
        -
            name: maya
            engine: maya
            default: 2016
            versions: [2014, 2016]
            cmd: 'tank launch_maya'
            packages:
                - vermaya
                - redshift-2.0.48
                - vermodeling
                - sppaint3d
                - workflowutils
                - mgtools
                - validation
                - supportlibrary
                - thingdomsgtk
                - datatodisk
    offline:
        -
            name: maya
            engine: maya
            default: 2016
            versions: [2014, 2016]
            cmd: maya
            packages:
                - vermaya
                - redshift-2.0.48
                - vermodeling
                - sppaint3d
                - workflowutils
                - mgtools
                - validation
                - supportlibrary
        -
            name: 3dsmax
            engine: 3dsmax
            cmd: 3dsmax
surfacing:
    shotgun:
        -
            name: maya
            engine: maya
            default: 2016
            versions: [2014, 2016]
            cmd: 'tank launch_maya'
            packages:
                - vermaya
                - redshift-2.0.48
                - versurfacing
                - verredshift
                - workflowutils
                - mgtools
                - validation
                - supportlibrary
                - thingdomsgtk
                - datatodisk
                - yeti
...
</pre>

<pre id="code" uuid="packageSample" style="display:none;">

import verdesktop

verDesktop = verdesktop.Desktop()
verDesktop.show()

</pre>

<!-- **************************************************************** -->
</body>
</html>

<!-- 加载插件 -->
<script type="text/javascript" src="../../../scripts/require.js"></script>
<!-- 加载语言格式数据 -->
<script src="../../../scripts/config/python.js"></script>
<script type="text/javascript">

    // 获取代码文本标签
    var div=document.getElementById('code');
    
    // 配置模块路径
    require.config({
        paths : {
            "apidocbuild" : "../apidocbuild",
            "codestyle" : "../../../scripts/codestyle",
        }
    })
    // 初始化界面
    require(["apidocbuild"])
    // 调用模块功能，根据数据实现语法高亮
    require(["codestyle"], function(codestyle){
                codestyle.main(div, keywordsData, strFormatData);
                }
            );

</script>


